import request from '../utils/request'
export function save(data) {
  return request({
          url: '/member/couponCodeGift/save',
          method: 'post',
          data: data
  })
}


export function memberList(params) {
  return request({
          url: '/member/couponCodeGift/memberList',
          method: 'get',
          params: params
  })
}


export function receiverList(params) {
  return request({
          url: '/member/couponCodeGift/receiverList',
          method: 'get',
          params: params
  })
}

export function cancel(data) {
  return request({
          url: '/member/couponCodeGift/cancel',
          method: 'post',
          data: data
  })
}


export function confirm(data) {
  return request({
          url: '/member/couponCodeGift/confirm',
          method: 'post',
          data: data
  })
}